<?php
// 设置医生所属科室
// header("content-type:text/html;charset=UTF-8");
include_once("conn.php");

$docID = $_GET["docid"];
$departID = $_GET["departid"];

$update = "UPDATE doc_infos SET doc_TypeMain = '" . $departID . "' WHERE doc_ID = '" . $docID . "'";
mysqli_query($connect_DB,$update);

$connect_DB->close();
?>